<?php
    header("Content-type: text/html; Charset=utf-8");
	require_once('../connect.php');
    $table = $table_prefix.'article';
	$id = $_GET['id'];
	$delete_sql = "delete from $table where id=$id";

	if(myQuery($delete_sql)){
		echo "<script>alert('删除文章成功');window.location.href='article.manage.php';</script>";
	}else{
		echo "<script>alert('删除文章失败');window.location.href='article.manage.php';</script>";
	}
?>